import request from '@/utils/request'

// 查询车辆运输日汇总列表
export function listReportCarTransport(query) {
  return request({
    url: '/screenData/reportCarTransport/list',
    method: 'get',
    params: query
  })
}

// 查询车辆运输日汇总详细
export function getReportCarTransport(id) {
  return request({
    url: '/screenData/reportCarTransport/' + id,
    method: 'get'
  })
}

// 新增车辆运输日汇总
export function addReportCarTransport(data) {
  return request({
    url: '/screenData/reportCarTransport',
    method: 'post',
    data: data
  })
}

// 修改车辆运输日汇总
export function updateReportCarTransport(data) {
  return request({
    url: '/screenData/reportCarTransport',
    method: 'put',
    data: data
  })
}

// 删除车辆运输日汇总
export function delReportCarTransport(id) {
  return request({
    url: '/screenData/reportCarTransport/' + id,
    method: 'delete'
  })
}
